Skip to main content

All Questions

Tagged with
7votes
1answer
54views

Advent of Code 2017, Day 8 - Evaluate instructions to modify registers

This is my solution to Advent of Code 2017, Day 8. Problem description The task is to model a machine which has an unspecified number of registers which are accessed by name and contain integer ...
mkrieger1's user avatar
2votes
1answer
169views

Overhauled AST builder for markargs

This is refactoring of the code described in the previous iteration. Roadmap I'm trying to follow usual compiler design: Lexical analysis: 1, 2 Syntactical analysis: 1, 2 <---- you're here ...
Incomputable's user avatar
5votes
1answer
230views

Overhauled tokenizer for markargs

In the previous post I've started writing a tokenizer for my imaginary programming language (which I decided to name markargs; trivia at the end of the post). Problem definition: Read the line and ...
Incomputable's user avatar
8votes
1answer
702views

HTML Parser (using SAX)

Got bored writing a review on an HTML parser and decided I wanted to try. So I threw this together to see I could parse an Amazon page. ...
Loki Astari's user avatar

close